package black.market.weather;

import android.os.Parcel;
import android.os.Parcelable;

public class KmaInfoBean implements Parcelable {
	public static final String TAG = "KmaInfoBean";
	private String timeMap = null;
	private String time = null;
	private String state = null;
	private String temp = null;
	private String pop = null;
	private String rain = null;
	private String snow = null;
	private String minTemp = null;
	private String maxTemp = null;
	private String reh = null;
	private String wind_speed = null;
	private String wind_direction = null;

	public KmaInfoBean() {
		super();
	}

	public KmaInfoBean(String timeMap) {
		super();
		this.timeMap = timeMap;
	}

	public KmaInfoBean(String time, String state, String temp, String pop, String rain, String snow, String minTemp, String maxTemp, String reh,
			String wind_speed, String wind_direction) {
		super();
		this.time = time;
		this.state = state;
		this.temp = temp;
		this.pop = pop;
		this.rain = rain;
		this.snow = snow;
		this.minTemp = minTemp;
		this.maxTemp = maxTemp;
		this.reh = reh;
		this.wind_speed = wind_speed;
		this.wind_direction = wind_direction;
	}

	public KmaInfoBean(String state2, String temp2, String pop2, String rain2, String snow2, String reh2, String wind_speed2, String wind_direction2) {
		// TODO Auto-generated constructor stub
	}

	public KmaInfoBean(Parcel in) {
		temp = in.readString();
		state = in.readString();
		pop = in.readString();
		wind_direction = in.readString();
		wind_speed = in.readString();
		rain = in.readString();
		snow = in.readString();
		reh = in.readString();
	}

	public String getTimeMap() {
		return timeMap;
	}

	public void setTimeMap(String timeMap) {
		this.timeMap = timeMap;
	}

	public String getTime() {
		return time;
	}

	public String getState() {
		return state;
	}

	public String getTemp() {
		return temp;
	}

	public String getPop() {
		return pop;
	}

	public String getRain() {
		return rain;
	}

	public String getSnow() {
		return snow;
	}

	public String getMinTemp() {
		return minTemp;
	}

	public String getMaxTemp() {
		return maxTemp;
	}

	public String getReh() {
		return reh;
	}

	public String getWind_speed() {
		return wind_speed;
	}

	public String getWind_direction() {
		return wind_direction;
	}

	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeString(temp);
		dest.writeString(state);
		dest.writeString(pop);
		dest.writeString(wind_direction);
		dest.writeString(wind_speed);
		dest.writeString(rain);
		dest.writeString(snow);
		dest.writeString(reh);

	}

	public static final Parcelable.Creator<KmaInfoBean> CREATOR = new Creator<KmaInfoBean>() {

		@Override
		public KmaInfoBean[] newArray(int size) {
			// TODO Auto-generated method stub
			return new KmaInfoBean[size];
		}

		@Override
		public KmaInfoBean createFromParcel(Parcel source) {
			// TODO Auto-generated method stub
			// String temp = source.readString();
			// String state = source.readString();
			// String pop = source.readString();
			// String wind_direction = source.readString();
			// String wind_speed = source.readString();
			// String rain = source.readString();
			// String snow = source.readString();
			// String reh = source.readString();
			// return new KmaInfoBean(state, temp, pop, rain, snow, reh,
			// wind_speed, wind_direction);
			return new KmaInfoBean(source);
		}
	};
}
